#
# Copyright (C) 2018-2019 Intel Corporation
#
# SPDX-License-Identifier: MIT
#

set(RUNTIME_SRCS_COMPILER_INTERFACE
  ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
  ${CMAKE_CURRENT_SOURCE_DIR}/default_cl_cache_config.cpp
  ${CMAKE_CURRENT_SOURCE_DIR}/patchtokens_decoder.cpp
  ${CMAKE_CURRENT_SOURCE_DIR}/patchtokens_decoder.h
  ${CMAKE_CURRENT_SOURCE_DIR}/patchtokens_dumper.cpp
  ${CMAKE_CURRENT_SOURCE_DIR}/patchtokens_dumper.h
  ${CMAKE_CURRENT_SOURCE_DIR}/patchtokens_validator.inl
)

get_property(NEO_COMPILER_INTERFACE GLOBAL PROPERTY NEO_COMPILER_INTERFACE)
list(APPEND RUNTIME_SRCS_COMPILER_INTERFACE ${NEO_COMPILER_INTERFACE})

target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_COMPILER_INTERFACE})
set_property(GLOBAL PROPERTY RUNTIME_SRCS_COMPILER_INTERFACE ${RUNTIME_SRCS_COMPILER_INTERFACE})
